package com.google.code.sip.ucenter.dao.mongo;

import com.google.code.sip.core.dao.mongo.GenericMongoDao;
import com.google.code.sip.ucenter.dao.RoleDao;
import com.google.code.sip.ucenter.model.Role;

public class RoleDaoImpl extends GenericMongoDao<Role, String> implements
		RoleDao {
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.google.code.sip.ucenter.dao.mongo.RoleDao#getByName(java.lang.String)
	 */
	public Role getByName(String name) {
		return getByProperty("name", name);
	}
}
